#include "Exception.h"

///
/// Constructor for 'Exception'.
///
Exception::Exception(const char* msg, int ec)
{
    m_message = msg;
    m_errorcode = ec;
}

///
/// Write the exception to the standard error stream.
///
void Exception::print()
{
    std::cerr << m_message << "\n";
}
